STEP 10: Our presents are still a little too close together. To create more space between them, we'll increase the amount we add to x each time the loop runs.

Remember, we use += to add value to a variable. Look for the line that uses that pair of symbols.

  • Find the command in the for loop that adds value to x.
  • Change the command to add 75 to x (instead of 50).

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)